home *** CD-ROM | disk | FTP | other *** search
- { %filename% -- main program }
- { Created %date% %time% by AppMaker }
-
- Program %appname%;
-
- {$MC68020-}
- {$MC68881-}
-
- Uses
- %if lang = Think%
- SysEqu, Traps, ULoMem, UMacAppUtilities, {}
- UPatch, UObject, UList, UViewCoords, {}
- UMemory, UFailure, UMenuSetup, UAssociation, {}
- PrintTraps, {}
- UMacApp, {}
- UGridView, UTEView, UDialog, {}
- UPrinting, {}
- UAMLibraryM, {}
- U%appname%;
- %else%
- UMacApp,
- UGridView,
- UTEView,
- UDialog,
- UPrinting,
- UAMLibraryM,
- U%appname%;
- %endif%
-
- var
- g%Appname%App:% %T%Appname%App;
-
- {$S Main}
- {----------}
- Begin
- InitToolBox;
- if ValidateConfiguration (gConfiguration) then begin
- InitUMacApp (10); { number of calls to MoreMasters }
- InitUPrinting;
- InitUTEView;
- InitUGridView;
- InitUDialog;
-
- new (g%Appname%App);
- FailNil (g%Appname%App);
- g%Appname%App.I%Appname%App;
- g%Appname%App.Run;
- end else begin
- StdAlert (phUnsupportedConfiguration);
- end;
- End. {%appname%}
-